/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.phonegroup;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.phonegroup.Phonegroup;

/**
 * @author Administrator (email:xxh@163.com)
 * @since 2013-01-28
 */
public interface PhonegroupService {

    /****************************************
     * Insert a instace of Phonegroup
     ****************************************/
    void insert(Phonegroup phonegroup) throws Exception;

    /****************************************
     * Insert instaces of Phonegroup
     ****************************************/
    void batchInsert(Phonegroup phonegroup) throws Exception;

    /****************************************
     * Delete a instace of Phonegroup
     ****************************************/
    void delete(Phonegroup phonegroup) throws Exception;

    /****************************************
     * Delete instaces of Phonegroup
     ****************************************/
    void batchDelete(Phonegroup phonegroup) throws Exception;

    /****************************************
     * Update a instace of Phonegroup
     ****************************************/
    void update(Phonegroup phonegroup) throws Exception;

    /****************************************
     * Query instaces of Phonegroup
     ****************************************/
    List<BaseModel> queryAsList(Phonegroup phonegroup) throws Exception;

    /****************************************
     * Query a instaces of Phonegroup
     ****************************************/
    BaseModel queryAsObject(Phonegroup phonegroup) throws Exception;
}
